from django.urls import path
from .views import sendSmsView,LoginView,ProfileView
from rest_framework.routers import SimpleRouter
urlpatterns=[
    path('send_sms/',sendSmsView.as_view({'post':'send_sms'})),
    path('profile/',ProfileView.as_view({'get':'get_user_info'})),
    path('update_user_icon/',ProfileView.as_view({'post':'update_user_icon'})),
    path('update_user_info/',ProfileView.as_view({'put':'update_user_info'})),
    path('code_login_register/',LoginView.as_view({'post':'code_login_register'})),
]